/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.dealer.entity;

import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.modules.sys.entity.Office;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 经销商信息Entity
 * @author jyangye
 * @version 2017-11-26
 */
public class ViDealerInfo extends DataEntity<ViDealerInfo> {
	
	private static final long serialVersionUID = 1L;
	private String dealerid;		// 经销商ID
	private Office company;		// 组织机构ID
	private String areaid;		// 区域ID
	private Date createtime;		// 建立时间
	private String dealercode;		// 经销商编码
	private String dealername;		// 经销商名称
	private String dealernamepinying;		// 经销商名称拼音
	private String dealertype;		// 经销商类型
	private String dealeraddress;		// 经销商地址
	private String dealertelephone;		// 经销商电话
	private String isentitydealer;		// 是否实体经销商
	private String iswares;		// 是否商品实体
	private String ismaterial;		// 是否物料实体
	private String marketlevelid;		// 市场层级
	private String terminaltype;		// 门店类型
	private String terminallevelid;		// 门店级别
	private String dealerlevelid;		// 经销商级别
	private String bysystemid;		// 所属系统
	private String clienttypeid;		// 客户类型
	private String ditchtypeid;		// 运营商合作类型
	private String terminalbelongid;		// 门店归属
	private String terminalstate;		// 门店状态
	private String agentlevelid;		// 代理商级别ID
	private String arelinkman;		// 区域联系人
	private String arealinkmantelephone;		// 区域联系人电话
	private String financelinkman;		// 财务联系人
	private String financelinkmantelephone;		// 财务联系人电话
	private String storekeeper;		// 库管
	private String storekeepertel;		// 库管电话
	private String magorbrand;		// 主要经营品牌
	private String business;		// 生意规模
	private String selfstorecount;		// 自营门店数
	private String terminalcontacter;		// 门店联系人
	private String terminalcontactertel;		// 门店联系人电话
	private String terminalshopkeeper;		// 门店店长
	private String shopkeepertel;		// 门店店长电话
	private String terminalstorekeeper;		// 门店库管
	private String terminalstorekeepertel;		// 门店库管电话
	private String terminalmajorbrand;		// 主要竞争品牌
	private String jointype;		// 渠道类型
	private String servicetel;		// 售后服务中心
	private String salesscope;		// 销售规模
	private String terminalarea;		// 门店面积
	private Date startrundate;		// 开始经营时间
	private String runyears;		// 经营年限
	private String shopassistantcount;		// 营业员数量
	private String promotionscount;		// 促销员数量
	private String brandservicecenter;		// 品牌售后服务中心
	private String assetsconditions;		// 资产状况
	private String barcount;		// 总柜台数
	private String businesslevelid;		// 商业口岸等级
	private String foreignenvid;		// 外部环境ID
	private String hasspecarea;		// 是否有专区
	private String terminalmaintainid;		// 门店维护归属ID
	private String specialareacount;		// 专区数量
	private String terminalspecinfo;		// 门店特殊信息
	private String terminalphoto1;		// 门店照片1
	private String terminalphoto2;		// 门店照片2
	private String terminalphoto3;		// 门店照片3
	private String terminalphoto4;		// 门店照片4
	private String isspotcheck;		// 是否抽样经销商
	private String ishassaler;		// 是否有促销员
	private String dealerclientkindid;		// 经销商客户类型ID
	private String clientadminer;		// 客户负责人
	private String clientadminertel;		// 客户负责人电话
	private String orderadminer;		// 订货负责人
	private String orderadminertel;		// 订货负责人电话
	private String marketadminer;		// 市场负责人
	private String marketadminertel;		// 市场负责人电话
	private String standerpercent;		// 标准内站
	private String promotionsconfig;		// 促销员配置
	private String shvalue;		// 代理商社商值
	private String isstore;		// 是否为专卖店(1为是 0为否)
	private String ismakebill;		// 是否已开账(专卖店用 1表示已开账 其它为否)
	private Date makebilltime;		// 开账时间
	private String storetype;		// 售点类型
	private String logisticsday;		// 物流天数
	private String storekind;		// 专卖店类型
	private String lockgpsposition;		// 锁定GPS上报(1锁定0未锁定)
	private String agentcontracttypeid;		// 代理合约类型ID
	private String isself;		// 是否自营(0:否,1:是)
	private String wechatno;		// 公众微信号
	private String enableallotupretail;		// 上报销量时是否允许下级调拨销售
	private String website;		// website
	private String fax;		// fax
	private String pOBox;		// p_o_box
	private String tongbuimssystemresult;		// 同步IMS系统结果(0:不需同步 1:同步成功 2:同步失败)
	private String tongbuimssystemresultmessage;		// 同步IMS系统结果说明
	private String imagetypeid;		// imagetypeid
	private String factorymobiletypeid;		// factorymobiletypeid
	private String storeclassid;		// storeclassid
	private String businessmodeid;		// businessmodeid
	private String servicetelephone;		// servicetelephone
	private String isupcompanysite;		// isupcompanysite
	private String storecoordinate;		// storecoordinate
	private String storeemail;		// storeemail
	private String summerworktime;		// summerworktime
	private String winterworktime;		// winterworktime
	private String nearbusstation;		// nearbusstation
	private String nearmetrostation;		// nearmetrostation
	private String businessrangeid;		// businessrangeid
	private String salespropertyid;		// salespropertyid
	private String factoryareaid;		// factoryareaid
	private String pricesystemid;		// pricesystemid
	private String settlementunitid;		// settlementunitid
	private String retailvouchertype;		// retailvouchertype
	private String unicomcode;		// unicomcode
	private String telecomcode;		// telecomcode
	private String mobilecode;		// mobilecode
	private String additionalcode1;		// additionalcode1
	private String belongclientid;		// belongclientid
	private String financialareacode;		// financialareacode
	private String isfinancialaccount;		// isfinancialaccount

    private String belongName;


    private VivoArea area;

    public ViDealerInfo() {
		super();
	}

	public ViDealerInfo(String id){
		super(id);
	}

	@Length(min=1, max=11, message="经销商ID长度必须介于 1 和 11 之间")
	@ExcelField(title="经销商ID", align=2, sort=20)
	public String getDealerid() {
		return dealerid;
	}

	public void setDealerid(String dealerid) {
		this.dealerid = dealerid;
	}
	
	@ExcelField(title="组织机构", align=2, sort=30)
	public Office getCompany() {
		return company;
	}

	public void setCompany(Office company) {
		this.company = company;
	}
	
	@Length(min=0, max=32, message="区域ID长度必须介于 0 和 32 之间")
	@ExcelField(title="区域ID", align=2, sort=40)
    public VivoArea getArea() {
        return area;
    }

    public void setArea(VivoArea area) {
        this.area = area;
    }


	public String getAreaid() {
		return areaid;
	}

	public void setAreaid(String areaid) {
		this.areaid = areaid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@ExcelField(title="建立时间", align=2, sort=50)
	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	
	@Length(min=0, max=40, message="经销商编码长度必须介于 0 和 40 之间")
	@ExcelField(title="经销商编码", align=2, sort=60)
	public String getDealercode() {
		return dealercode;
	}

	public void setDealercode(String dealercode) {
		this.dealercode = dealercode;
	}
	
	@Length(min=1, max=100, message="经销商名称长度必须介于 1 和 100 之间")
	@ExcelField(title="经销商名称", align=2, sort=70)
	public String getDealername() {
		return dealername;
	}

	public void setDealername(String dealername) {
		this.dealername = dealername;
	}
	
	@Length(min=0, max=200, message="经销商名称拼音长度必须介于 0 和 200 之间")
	@ExcelField(title="经销商名称拼音", align=2, sort=80)
	public String getDealernamepinying() {
		return dealernamepinying;
	}

	public void setDealernamepinying(String dealernamepinying) {
		this.dealernamepinying = dealernamepinying;
	}
	
	@Length(min=0, max=1, message="经销商类型长度必须介于 0 和 1 之间")
	@ExcelField(title="经销商类型", align=2, sort=90)
	public String getDealertype() {
		return dealertype;
	}

	public void setDealertype(String dealertype) {
		this.dealertype = dealertype;
	}
	
	@Length(min=0, max=200, message="经销商地址长度必须介于 0 和 200 之间")
	@ExcelField(title="经销商地址", align=2, sort=100)
	public String getDealeraddress() {
		return dealeraddress;
	}

	public void setDealeraddress(String dealeraddress) {
		this.dealeraddress = dealeraddress;
	}
	
	@Length(min=0, max=30, message="经销商电话长度必须介于 0 和 30 之间")
	@ExcelField(title="经销商电话", align=2, sort=110)
	public String getDealertelephone() {
		return dealertelephone;
	}

	public void setDealertelephone(String dealertelephone) {
		this.dealertelephone = dealertelephone;
	}
	
	@Length(min=0, max=1, message="是否实体经销商长度必须介于 0 和 1 之间")
	@ExcelField(title="是否实体经销商", align=2, sort=120, dictType = "yes_no")
	public String getIsentitydealer() {
		return isentitydealer;
	}

	public void setIsentitydealer(String isentitydealer) {
		this.isentitydealer = isentitydealer;
	}
	
	@Length(min=0, max=1, message="是否商品实体长度必须介于 0 和 1 之间")
	@ExcelField(title="是否商品实体", align=2, sort=130, dictType = "yes_no")
	public String getIswares() {
		return iswares;
	}

	public void setIswares(String iswares) {
		this.iswares = iswares;
	}
	
	@Length(min=0, max=1, message="是否物料实体长度必须介于 0 和 1 之间")
	@ExcelField(title="是否物料实体", align=2, sort=140, dictType = "yes_no")
	public String getIsmaterial() {
		return ismaterial;
	}

	public void setIsmaterial(String ismaterial) {
		this.ismaterial = ismaterial;
	}
	
	@Length(min=0, max=32, message="市场层级长度必须介于 0 和 32 之间")
	@ExcelField(title="市场层级", align=2, sort=150, dictType = "vivo_dealer_market_level")
	public String getMarketlevelid() {
		return marketlevelid;
	}

	public void setMarketlevelid(String marketlevelid) {
		this.marketlevelid = marketlevelid;
	}
	
	@Length(min=0, max=32, message="门店类型长度必须介于 0 和 32 之间")
	@ExcelField(title="门店类型", align=2, sort=160, dictType = "vivo_dealer_terminal_type")
	public String getTerminaltype() {
		return terminaltype;
	}

	public void setTerminaltype(String terminaltype) {
		this.terminaltype = terminaltype;
	}
	
	@Length(min=0, max=32, message="门店级别长度必须介于 0 和 32 之间")
	@ExcelField(title="门店级别", align=2, sort=170, dictType = "vivo_dealer_store_level")
	public String getTerminallevelid() {
		return terminallevelid;
	}

	public void setTerminallevelid(String terminallevelid) {
		this.terminallevelid = terminallevelid;
	}
	
	@Length(min=0, max=32, message="经销商级别长度必须介于 0 和 32 之间")
	@ExcelField(title="经销商级别", align=2, sort=180, dictType = "vivo_dealer_level")
	public String getDealerlevelid() {
		return dealerlevelid;
	}

	public void setDealerlevelid(String dealerlevelid) {
		this.dealerlevelid = dealerlevelid;
	}
	
	@Length(min=0, max=32, message="所属系统长度必须介于 0 和 32 之间")
	@ExcelField(title="所属系统", align=2, sort=190)
	public String getBysystemid() {
		return bysystemid;
	}

	public void setBysystemid(String bysystemid) {
		this.bysystemid = bysystemid;
	}
	
	@Length(min=0, max=32, message="客户类型长度必须介于 0 和 32 之间")
	@ExcelField(title="客户类型", align=2, sort=200)
	public String getClienttypeid() {
		return clienttypeid;
	}

	public void setClienttypeid(String clienttypeid) {
		this.clienttypeid = clienttypeid;
	}
	
	@Length(min=0, max=32, message="运营商合作类型长度必须介于 0 和 32 之间")
	@ExcelField(title="运营商合作类型", align=2, sort=210, dictType = "vivo_dealer_ditch")
	public String getDitchtypeid() {
		return ditchtypeid;
	}

	public void setDitchtypeid(String ditchtypeid) {
		this.ditchtypeid = ditchtypeid;
	}
	
	@Length(min=0, max=11, message="门店归属长度必须介于 0 和 11 之间")
	@ExcelField(title="门店归属", align=2, sort=220)
	public String getTerminalbelongid() {
		return terminalbelongid;
	}

	public void setTerminalbelongid(String terminalbelongid) {
		this.terminalbelongid = terminalbelongid;
	}
	
	@Length(min=1, max=1, message="门店状态长度必须介于 1 和 1 之间")
	@ExcelField(title="门店状态", align=2, sort=230, dictType = "vivo_dealer_ter_state")
	public String getTerminalstate() {
		return terminalstate;
	}

	public void setTerminalstate(String terminalstate) {
		this.terminalstate = terminalstate;
	}
	
	@Length(min=0, max=32, message="代理商级别ID长度必须介于 0 和 32 之间")
	@ExcelField(title="代理商级别", align=2, sort=240, dictType = "vivo_dealer_agent_level")
	public String getAgentlevelid() {
		return agentlevelid;
	}

	public void setAgentlevelid(String agentlevelid) {
		this.agentlevelid = agentlevelid;
	}
	
	@Length(min=0, max=20, message="区域联系人长度必须介于 0 和 20 之间")
	@ExcelField(title="区域联系人", align=2, sort=250)
	public String getArelinkman() {
		return arelinkman;
	}

	public void setArelinkman(String arelinkman) {
		this.arelinkman = arelinkman;
	}
	
	@Length(min=0, max=30, message="区域联系人电话长度必须介于 0 和 30 之间")
	@ExcelField(title="区域联系人电话", align=2, sort=260)
	public String getArealinkmantelephone() {
		return arealinkmantelephone;
	}

	public void setArealinkmantelephone(String arealinkmantelephone) {
		this.arealinkmantelephone = arealinkmantelephone;
	}
	
	@Length(min=0, max=20, message="财务联系人长度必须介于 0 和 20 之间")
	@ExcelField(title="财务联系人", align=2, sort=270)
	public String getFinancelinkman() {
		return financelinkman;
	}

	public void setFinancelinkman(String financelinkman) {
		this.financelinkman = financelinkman;
	}
	
	@Length(min=0, max=30, message="财务联系人电话长度必须介于 0 和 30 之间")
	@ExcelField(title="财务联系人电话", align=2, sort=280)
	public String getFinancelinkmantelephone() {
		return financelinkmantelephone;
	}

	public void setFinancelinkmantelephone(String financelinkmantelephone) {
		this.financelinkmantelephone = financelinkmantelephone;
	}
	
	@Length(min=0, max=20, message="库管长度必须介于 0 和 20 之间")
	@ExcelField(title="库管", align=2, sort=290)
	public String getStorekeeper() {
		return storekeeper;
	}

	public void setStorekeeper(String storekeeper) {
		this.storekeeper = storekeeper;
	}
	
	@Length(min=0, max=30, message="库管电话长度必须介于 0 和 30 之间")
	@ExcelField(title="库管电话", align=2, sort=300)
	public String getStorekeepertel() {
		return storekeepertel;
	}

	public void setStorekeepertel(String storekeepertel) {
		this.storekeepertel = storekeepertel;
	}
	
	@Length(min=0, max=100, message="主要经营品牌长度必须介于 0 和 100 之间")
	@ExcelField(title="主要经营品牌", align=2, sort=310)
	public String getMagorbrand() {
		return magorbrand;
	}

	public void setMagorbrand(String magorbrand) {
		this.magorbrand = magorbrand;
	}
	
	@Length(min=0, max=50, message="生意规模长度必须介于 0 和 50 之间")
	@ExcelField(title="生意规模", align=2, sort=320)
	public String getBusiness() {
		return business;
	}

	public void setBusiness(String business) {
		this.business = business;
	}
	
	@ExcelField(title="自营门店数", align=2, sort=330)
	public String getSelfstorecount() {
		return selfstorecount;
	}

	public void setSelfstorecount(String selfstorecount) {
		this.selfstorecount = selfstorecount;
	}
	
	@Length(min=0, max=20, message="门店联系人长度必须介于 0 和 20 之间")
	@ExcelField(title="门店联系人", align=2, sort=340)
	public String getTerminalcontacter() {
		return terminalcontacter;
	}

	public void setTerminalcontacter(String terminalcontacter) {
		this.terminalcontacter = terminalcontacter;
	}
	
	@Length(min=0, max=30, message="门店联系人电话长度必须介于 0 和 30 之间")
	@ExcelField(title="门店联系人电话", align=2, sort=350)
	public String getTerminalcontactertel() {
		return terminalcontactertel;
	}

	public void setTerminalcontactertel(String terminalcontactertel) {
		this.terminalcontactertel = terminalcontactertel;
	}
	
	@Length(min=0, max=20, message="门店店长长度必须介于 0 和 20 之间")
	@ExcelField(title="门店店长", align=2, sort=360)
	public String getTerminalshopkeeper() {
		return terminalshopkeeper;
	}

	public void setTerminalshopkeeper(String terminalshopkeeper) {
		this.terminalshopkeeper = terminalshopkeeper;
	}
	
	@Length(min=0, max=30, message="门店店长电话长度必须介于 0 和 30 之间")
	@ExcelField(title="门店店长电话", align=2, sort=370)
	public String getShopkeepertel() {
		return shopkeepertel;
	}

	public void setShopkeepertel(String shopkeepertel) {
		this.shopkeepertel = shopkeepertel;
	}
	
	@Length(min=0, max=20, message="门店库管长度必须介于 0 和 20 之间")
	@ExcelField(title="门店库管", align=2, sort=380)
	public String getTerminalstorekeeper() {
		return terminalstorekeeper;
	}

	public void setTerminalstorekeeper(String terminalstorekeeper) {
		this.terminalstorekeeper = terminalstorekeeper;
	}
	
	@Length(min=0, max=30, message="门店库管电话长度必须介于 0 和 30 之间")
	@ExcelField(title="门店库管电话", align=2, sort=390)
	public String getTerminalstorekeepertel() {
		return terminalstorekeepertel;
	}

	public void setTerminalstorekeepertel(String terminalstorekeepertel) {
		this.terminalstorekeepertel = terminalstorekeepertel;
	}
	
	@Length(min=0, max=100, message="主要竞争品牌长度必须介于 0 和 100 之间")
	@ExcelField(title="主要竞争品牌", align=2, sort=400)
	public String getTerminalmajorbrand() {
		return terminalmajorbrand;
	}

	public void setTerminalmajorbrand(String terminalmajorbrand) {
		this.terminalmajorbrand = terminalmajorbrand;
	}
	
	@Length(min=0, max=50, message="渠道类型长度必须介于 0 和 50 之间")
	@ExcelField(title="渠道类型", align=2, sort=410)
	public String getJointype() {
		return jointype;
	}

	public void setJointype(String jointype) {
		this.jointype = jointype;
	}
	
	@Length(min=0, max=50, message="售后服务中心长度必须介于 0 和 50 之间")
	@ExcelField(title="售后服务中心", align=2, sort=420)
	public String getServicetel() {
		return servicetel;
	}

	public void setServicetel(String servicetel) {
		this.servicetel = servicetel;
	}
	
	@Length(min=0, max=50, message="销售规模长度必须介于 0 和 50 之间")
	@ExcelField(title="销售规模", align=2, sort=430)
	public String getSalesscope() {
		return salesscope;
	}

	public void setSalesscope(String salesscope) {
		this.salesscope = salesscope;
	}
	
	@ExcelField(title="门店面积", align=2, sort=440)
	public String getTerminalarea() {
		return terminalarea;
	}

	public void setTerminalarea(String terminalarea) {
		this.terminalarea = terminalarea;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="开始经营时间", align=2, sort=450)
	public Date getStartrundate() {
		return startrundate;
	}

	public void setStartrundate(Date startrundate) {
		this.startrundate = startrundate;
	}
	
	@ExcelField(title="经营年限", align=2, sort=460)
	public String getRunyears() {
		return runyears;
	}

	public void setRunyears(String runyears) {
		this.runyears = runyears;
	}
	
	@ExcelField(title="营业员数量", align=2, sort=470)
	public String getShopassistantcount() {
		return shopassistantcount;
	}

	public void setShopassistantcount(String shopassistantcount) {
		this.shopassistantcount = shopassistantcount;
	}
	
	@ExcelField(title="促销员数量", align=2, sort=480)
	public String getPromotionscount() {
		return promotionscount;
	}

	public void setPromotionscount(String promotionscount) {
		this.promotionscount = promotionscount;
	}
	
	@Length(min=0, max=50, message="品牌售后服务中心长度必须介于 0 和 50 之间")
	@ExcelField(title="品牌售后服务中心", align=2, sort=490)
	public String getBrandservicecenter() {
		return brandservicecenter;
	}

	public void setBrandservicecenter(String brandservicecenter) {
		this.brandservicecenter = brandservicecenter;
	}
	
	@Length(min=0, max=50, message="资产状况长度必须介于 0 和 50 之间")
	@ExcelField(title="资产状况", align=2, sort=500)
	public String getAssetsconditions() {
		return assetsconditions;
	}

	public void setAssetsconditions(String assetsconditions) {
		this.assetsconditions = assetsconditions;
	}
	
	@ExcelField(title="总柜台数", align=2, sort=510)
	public String getBarcount() {
		return barcount;
	}

	public void setBarcount(String barcount) {
		this.barcount = barcount;
	}
	
	@Length(min=0, max=32, message="商业口岸等级长度必须介于 0 和 32 之间")
	@ExcelField(title="商业口岸等级", align=2, sort=520)
	public String getBusinesslevelid() {
		return businesslevelid;
	}

	public void setBusinesslevelid(String businesslevelid) {
		this.businesslevelid = businesslevelid;
	}
	
	@Length(min=0, max=32, message="外部环境ID长度必须介于 0 和 32 之间")
	@ExcelField(title="外部环境ID", align=2, sort=530)
	public String getForeignenvid() {
		return foreignenvid;
	}

	public void setForeignenvid(String foreignenvid) {
		this.foreignenvid = foreignenvid;
	}
	
	@Length(min=0, max=1, message="是否有专区长度必须介于 0 和 1 之间")
	@ExcelField(title="是否有专区", align=2, sort=540)
	public String getHasspecarea() {
		return hasspecarea;
	}

	public void setHasspecarea(String hasspecarea) {
		this.hasspecarea = hasspecarea;
	}
	
	@Length(min=0, max=32, message="门店维护归属ID长度必须介于 0 和 32 之间")
	@ExcelField(title="门店维护归属ID", align=2, sort=550)
	public String getTerminalmaintainid() {
		return terminalmaintainid;
	}

	public void setTerminalmaintainid(String terminalmaintainid) {
		this.terminalmaintainid = terminalmaintainid;
	}
	
	@ExcelField(title="专区数量", align=2, sort=560)
	public String getSpecialareacount() {
		return specialareacount;
	}

	public void setSpecialareacount(String specialareacount) {
		this.specialareacount = specialareacount;
	}
	
	@Length(min=0, max=300, message="门店特殊信息长度必须介于 0 和 300 之间")
	@ExcelField(title="门店特殊信息", align=2, sort=570)
	public String getTerminalspecinfo() {
		return terminalspecinfo;
	}

	public void setTerminalspecinfo(String terminalspecinfo) {
		this.terminalspecinfo = terminalspecinfo;
	}
	
	@Length(min=0, max=100, message="门店照片1长度必须介于 0 和 100 之间")
	@ExcelField(title="门店照片1", align=2, sort=580)
	public String getTerminalphoto1() {
		return terminalphoto1;
	}

	public void setTerminalphoto1(String terminalphoto1) {
		this.terminalphoto1 = terminalphoto1;
	}
	
	@Length(min=0, max=100, message="门店照片2长度必须介于 0 和 100 之间")
	@ExcelField(title="门店照片2", align=2, sort=590)
	public String getTerminalphoto2() {
		return terminalphoto2;
	}

	public void setTerminalphoto2(String terminalphoto2) {
		this.terminalphoto2 = terminalphoto2;
	}
	
	@Length(min=0, max=100, message="门店照片3长度必须介于 0 和 100 之间")
	@ExcelField(title="门店照片3", align=2, sort=600)
	public String getTerminalphoto3() {
		return terminalphoto3;
	}

	public void setTerminalphoto3(String terminalphoto3) {
		this.terminalphoto3 = terminalphoto3;
	}
	
	@Length(min=0, max=100, message="门店照片4长度必须介于 0 和 100 之间")
	@ExcelField(title="门店照片4", align=2, sort=610)
	public String getTerminalphoto4() {
		return terminalphoto4;
	}

	public void setTerminalphoto4(String terminalphoto4) {
		this.terminalphoto4 = terminalphoto4;
	}
	
	@Length(min=0, max=1, message="是否抽样经销商长度必须介于 0 和 1 之间")
	@ExcelField(title="是否抽样经销商", align=2, sort=620)
	public String getIsspotcheck() {
		return isspotcheck;
	}

	public void setIsspotcheck(String isspotcheck) {
		this.isspotcheck = isspotcheck;
	}
	
	@Length(min=0, max=1, message="是否有促销员长度必须介于 0 和 1 之间")
	@ExcelField(title="是否有促销员", align=2, sort=630)
	public String getIshassaler() {
		return ishassaler;
	}

	public void setIshassaler(String ishassaler) {
		this.ishassaler = ishassaler;
	}
	
	@Length(min=0, max=32, message="经销商客户类型ID长度必须介于 0 和 32 之间")
	@ExcelField(title="经销商客户类型ID", align=2, sort=640)
	public String getDealerclientkindid() {
		return dealerclientkindid;
	}

	public void setDealerclientkindid(String dealerclientkindid) {
		this.dealerclientkindid = dealerclientkindid;
	}
	
	@Length(min=0, max=20, message="客户负责人长度必须介于 0 和 20 之间")
	@ExcelField(title="客户负责人", align=2, sort=650)
	public String getClientadminer() {
		return clientadminer;
	}

	public void setClientadminer(String clientadminer) {
		this.clientadminer = clientadminer;
	}
	
	@Length(min=0, max=30, message="客户负责人电话长度必须介于 0 和 30 之间")
	@ExcelField(title="客户负责人电话", align=2, sort=660)
	public String getClientadminertel() {
		return clientadminertel;
	}

	public void setClientadminertel(String clientadminertel) {
		this.clientadminertel = clientadminertel;
	}
	
	@Length(min=0, max=20, message="订货负责人长度必须介于 0 和 20 之间")
	@ExcelField(title="订货负责人", align=2, sort=670)
	public String getOrderadminer() {
		return orderadminer;
	}

	public void setOrderadminer(String orderadminer) {
		this.orderadminer = orderadminer;
	}
	
	@Length(min=0, max=30, message="订货负责人电话长度必须介于 0 和 30 之间")
	@ExcelField(title="订货负责人电话", align=2, sort=680)
	public String getOrderadminertel() {
		return orderadminertel;
	}

	public void setOrderadminertel(String orderadminertel) {
		this.orderadminertel = orderadminertel;
	}
	
	@Length(min=0, max=20, message="市场负责人长度必须介于 0 和 20 之间")
	@ExcelField(title="市场负责人", align=2, sort=690)
	public String getMarketadminer() {
		return marketadminer;
	}

	public void setMarketadminer(String marketadminer) {
		this.marketadminer = marketadminer;
	}
	
	@Length(min=0, max=30, message="市场负责人电话长度必须介于 0 和 30 之间")
	@ExcelField(title="市场负责人电话", align=2, sort=700)
	public String getMarketadminertel() {
		return marketadminertel;
	}

	public void setMarketadminertel(String marketadminertel) {
		this.marketadminertel = marketadminertel;
	}
	
	@ExcelField(title="标准内站", align=2, sort=710)
	public String getStanderpercent() {
		return standerpercent;
	}

	public void setStanderpercent(String standerpercent) {
		this.standerpercent = standerpercent;
	}
	
	@Length(min=0, max=11, message="促销员配置长度必须介于 0 和 11 之间")
	@ExcelField(title="促销员配置", align=2, sort=720)
	public String getPromotionsconfig() {
		return promotionsconfig;
	}

	public void setPromotionsconfig(String promotionsconfig) {
		this.promotionsconfig = promotionsconfig;
	}
	
	@ExcelField(title="代理商社商值", align=2, sort=730)
	public String getShvalue() {
		return shvalue;
	}

	public void setShvalue(String shvalue) {
		this.shvalue = shvalue;
	}
	
	@Length(min=0, max=1, message="是否为专卖店(1为是 0为否)长度必须介于 0 和 1 之间")
	@ExcelField(title="是否为专卖店(1为是 0为否)", align=2, sort=740)
	public String getIsstore() {
		return isstore;
	}

	public void setIsstore(String isstore) {
		this.isstore = isstore;
	}
	
	@Length(min=0, max=1, message="是否已开账(专卖店用 1表示已开账 其它为否)长度必须介于 0 和 1 之间")
	@ExcelField(title="是否已开账(专卖店用 1表示已开账 其它为否)", align=2, sort=750)
	public String getIsmakebill() {
		return ismakebill;
	}

	public void setIsmakebill(String ismakebill) {
		this.ismakebill = ismakebill;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="开账时间", align=2, sort=760)
	public Date getMakebilltime() {
		return makebilltime;
	}

	public void setMakebilltime(Date makebilltime) {
		this.makebilltime = makebilltime;
	}
	
	@Length(min=0, max=32, message="售点类型长度必须介于 0 和 32 之间")
	@ExcelField(title="售点类型", align=2, sort=770, dictType = "vivo_dealer_store_kind")
	public String getStoretype() {
		return storetype;
	}

	public void setStoretype(String storetype) {
		this.storetype = storetype;
	}
	
	@ExcelField(title="物流天数", align=2, sort=780)
	public String getLogisticsday() {
		return logisticsday;
	}

	public void setLogisticsday(String logisticsday) {
		this.logisticsday = logisticsday;
	}
	
	@Length(min=0, max=32, message="专卖店类型长度必须介于 0 和 32 之间")
	@ExcelField(title="专卖店类型", align=2, sort=790)
	public String getStorekind() {
		return storekind;
	}

	public void setStorekind(String storekind) {
		this.storekind = storekind;
	}
	
	@Length(min=0, max=1, message="锁定GPS上报(1锁定0未锁定)长度必须介于 0 和 1 之间")
	@ExcelField(title="锁定GPS上报(1锁定0未锁定)", align=2, sort=800)
	public String getLockgpsposition() {
		return lockgpsposition;
	}

	public void setLockgpsposition(String lockgpsposition) {
		this.lockgpsposition = lockgpsposition;
	}
	
	@Length(min=0, max=32, message="代理合约类型ID长度必须介于 0 和 32 之间")
	@ExcelField(title="代理合约类型ID", align=2, sort=810, dictType = "vivo_dealer_agent_contract")
	public String getAgentcontracttypeid() {
		return agentcontracttypeid;
	}

	public void setAgentcontracttypeid(String agentcontracttypeid) {
		this.agentcontracttypeid = agentcontracttypeid;
	}
	
	@Length(min=0, max=1, message="是否自营(0:否,1:是)长度必须介于 0 和 1 之间")
	@ExcelField(title="是否自营(0:否,1:是)", align=2, sort=820, dictType = "yes_no")
	public String getIsself() {
		return isself;
	}

	public void setIsself(String isself) {
		this.isself = isself;
	}
	
	@Length(min=0, max=30, message="公众微信号长度必须介于 0 和 30 之间")
	@ExcelField(title="公众微信号", align=2, sort=830)
	public String getWechatno() {
		return wechatno;
	}

	public void setWechatno(String wechatno) {
		this.wechatno = wechatno;
	}
	
	@Length(min=0, max=1, message="上报销量时是否允许下级调拨销售长度必须介于 0 和 1 之间")
	@ExcelField(title="上报销量时是否允许下级调拨销售", align=2, sort=840, dictType = "yes_no")
	public String getEnableallotupretail() {
		return enableallotupretail;
	}

	public void setEnableallotupretail(String enableallotupretail) {
		this.enableallotupretail = enableallotupretail;
	}
	
	@Length(min=0, max=50, message="website长度必须介于 0 和 50 之间")
	@ExcelField(title="website", align=2, sort=850)
	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}
	
	@Length(min=0, max=20, message="fax长度必须介于 0 和 20 之间")
	@ExcelField(title="fax", align=2, sort=860)
	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}
	
	@Length(min=0, max=50, message="p_o_box长度必须介于 0 和 50 之间")
	@ExcelField(title="p_o_box", align=2, sort=870)
	public String getPOBox() {
		return pOBox;
	}

	public void setPOBox(String pOBox) {
		this.pOBox = pOBox;
	}
	
	@Length(min=0, max=1, message="同步IMS系统结果(0:不需同步 1:同步成功 2:同步失败)长度必须介于 0 和 1 之间")
	@ExcelField(title="同步IMS系统结果(0:不需同步 1:同步成功 2:同步失败)", align=2, sort=880)
	public String getTongbuimssystemresult() {
		return tongbuimssystemresult;
	}

	public void setTongbuimssystemresult(String tongbuimssystemresult) {
		this.tongbuimssystemresult = tongbuimssystemresult;
	}
	
	@Length(min=0, max=5000, message="同步IMS系统结果说明长度必须介于 0 和 5000 之间")
	@ExcelField(title="同步IMS系统结果说明", align=2, sort=890)
	public String getTongbuimssystemresultmessage() {
		return tongbuimssystemresultmessage;
	}

	public void setTongbuimssystemresultmessage(String tongbuimssystemresultmessage) {
		this.tongbuimssystemresultmessage = tongbuimssystemresultmessage;
	}
	
	@Length(min=0, max=32, message="imagetypeid长度必须介于 0 和 32 之间")
	@ExcelField(title="imagetypeid", align=2, sort=900)
	public String getImagetypeid() {
		return imagetypeid;
	}

	public void setImagetypeid(String imagetypeid) {
		this.imagetypeid = imagetypeid;
	}
	
	@Length(min=0, max=32, message="factorymobiletypeid长度必须介于 0 和 32 之间")
	@ExcelField(title="factorymobiletypeid", align=2, sort=910)
	public String getFactorymobiletypeid() {
		return factorymobiletypeid;
	}

	public void setFactorymobiletypeid(String factorymobiletypeid) {
		this.factorymobiletypeid = factorymobiletypeid;
	}
	
	@Length(min=0, max=32, message="storeclassid长度必须介于 0 和 32 之间")
	@ExcelField(title="storeclassid", align=2, sort=920)
	public String getStoreclassid() {
		return storeclassid;
	}

	public void setStoreclassid(String storeclassid) {
		this.storeclassid = storeclassid;
	}
	
	@Length(min=0, max=32, message="businessmodeid长度必须介于 0 和 32 之间")
	@ExcelField(title="businessmodeid", align=2, sort=930)
	public String getBusinessmodeid() {
		return businessmodeid;
	}

	public void setBusinessmodeid(String businessmodeid) {
		this.businessmodeid = businessmodeid;
	}
	
	@Length(min=0, max=50, message="servicetelephone长度必须介于 0 和 50 之间")
	@ExcelField(title="servicetelephone", align=2, sort=940)
	public String getServicetelephone() {
		return servicetelephone;
	}

	public void setServicetelephone(String servicetelephone) {
		this.servicetelephone = servicetelephone;
	}
	
	@Length(min=0, max=1, message="isupcompanysite长度必须介于 0 和 1 之间")
	@ExcelField(title="isupcompanysite", align=2, sort=950)
	public String getIsupcompanysite() {
		return isupcompanysite;
	}

	public void setIsupcompanysite(String isupcompanysite) {
		this.isupcompanysite = isupcompanysite;
	}
	
	@Length(min=0, max=100, message="storecoordinate长度必须介于 0 和 100 之间")
	@ExcelField(title="storecoordinate", align=2, sort=960)
	public String getStorecoordinate() {
		return storecoordinate;
	}

	public void setStorecoordinate(String storecoordinate) {
		this.storecoordinate = storecoordinate;
	}
	
	@Length(min=0, max=50, message="storeemail长度必须介于 0 和 50 之间")
	@ExcelField(title="storeemail", align=2, sort=970)
	public String getStoreemail() {
		return storeemail;
	}

	public void setStoreemail(String storeemail) {
		this.storeemail = storeemail;
	}
	
	@Length(min=0, max=30, message="summerworktime长度必须介于 0 和 30 之间")
	@ExcelField(title="summerworktime", align=2, sort=980)
	public String getSummerworktime() {
		return summerworktime;
	}

	public void setSummerworktime(String summerworktime) {
		this.summerworktime = summerworktime;
	}
	
	@Length(min=0, max=30, message="winterworktime长度必须介于 0 和 30 之间")
	@ExcelField(title="winterworktime", align=2, sort=990)
	public String getWinterworktime() {
		return winterworktime;
	}

	public void setWinterworktime(String winterworktime) {
		this.winterworktime = winterworktime;
	}
	
	@Length(min=0, max=100, message="nearbusstation长度必须介于 0 和 100 之间")
	@ExcelField(title="nearbusstation", align=2, sort=1000)
	public String getNearbusstation() {
		return nearbusstation;
	}

	public void setNearbusstation(String nearbusstation) {
		this.nearbusstation = nearbusstation;
	}
	
	@Length(min=0, max=100, message="nearmetrostation长度必须介于 0 和 100 之间")
	@ExcelField(title="nearmetrostation", align=2, sort=1010)
	public String getNearmetrostation() {
		return nearmetrostation;
	}

	public void setNearmetrostation(String nearmetrostation) {
		this.nearmetrostation = nearmetrostation;
	}
	
	@Length(min=0, max=32, message="businessrangeid长度必须介于 0 和 32 之间")
	@ExcelField(title="businessrangeid", align=2, sort=1020)
	public String getBusinessrangeid() {
		return businessrangeid;
	}

	public void setBusinessrangeid(String businessrangeid) {
		this.businessrangeid = businessrangeid;
	}
	
	@Length(min=0, max=32, message="salespropertyid长度必须介于 0 和 32 之间")
	@ExcelField(title="salespropertyid", align=2, sort=1030)
	public String getSalespropertyid() {
		return salespropertyid;
	}

	public void setSalespropertyid(String salespropertyid) {
		this.salespropertyid = salespropertyid;
	}
	
	@Length(min=0, max=10, message="factoryareaid长度必须介于 0 和 10 之间")
	@ExcelField(title="factoryareaid", align=2, sort=1040)
	public String getFactoryareaid() {
		return factoryareaid;
	}

	public void setFactoryareaid(String factoryareaid) {
		this.factoryareaid = factoryareaid;
	}
	
	@Length(min=0, max=32, message="pricesystemid长度必须介于 0 和 32 之间")
	@ExcelField(title="pricesystemid", align=2, sort=1050)
	public String getPricesystemid() {
		return pricesystemid;
	}

	public void setPricesystemid(String pricesystemid) {
		this.pricesystemid = pricesystemid;
	}
	
	@Length(min=0, max=11, message="settlementunitid长度必须介于 0 和 11 之间")
	@ExcelField(title="settlementunitid", align=2, sort=1060)
	public String getSettlementunitid() {
		return settlementunitid;
	}

	public void setSettlementunitid(String settlementunitid) {
		this.settlementunitid = settlementunitid;
	}
	
	@Length(min=0, max=1, message="retailvouchertype长度必须介于 0 和 1 之间")
	@ExcelField(title="retailvouchertype", align=2, sort=1070)
	public String getRetailvouchertype() {
		return retailvouchertype;
	}

	public void setRetailvouchertype(String retailvouchertype) {
		this.retailvouchertype = retailvouchertype;
	}
	
	@Length(min=0, max=50, message="unicomcode长度必须介于 0 和 50 之间")
	@ExcelField(title="unicomcode", align=2, sort=1080)
	public String getUnicomcode() {
		return unicomcode;
	}

	public void setUnicomcode(String unicomcode) {
		this.unicomcode = unicomcode;
	}
	
	@Length(min=0, max=50, message="telecomcode长度必须介于 0 和 50 之间")
	@ExcelField(title="telecomcode", align=2, sort=1090)
	public String getTelecomcode() {
		return telecomcode;
	}

	public void setTelecomcode(String telecomcode) {
		this.telecomcode = telecomcode;
	}
	
	@Length(min=0, max=50, message="mobilecode长度必须介于 0 和 50 之间")
	@ExcelField(title="mobilecode", align=2, sort=1100)
	public String getMobilecode() {
		return mobilecode;
	}

	public void setMobilecode(String mobilecode) {
		this.mobilecode = mobilecode;
	}
	
	@Length(min=0, max=50, message="additionalcode1长度必须介于 0 和 50 之间")
	@ExcelField(title="additionalcode1", align=2, sort=1110)
	public String getAdditionalcode1() {
		return additionalcode1;
	}

	public void setAdditionalcode1(String additionalcode1) {
		this.additionalcode1 = additionalcode1;
	}
	
	@Length(min=0, max=11, message="belongclientid长度必须介于 0 和 11 之间")
	@ExcelField(title="belongclientid", align=2, sort=1120)
	public String getBelongclientid() {
		return belongclientid;
	}

	public void setBelongclientid(String belongclientid) {
		this.belongclientid = belongclientid;
	}
	
	@Length(min=0, max=50, message="financialareacode长度必须介于 0 和 50 之间")
	@ExcelField(title="financialareacode", align=2, sort=1130)
	public String getFinancialareacode() {
		return financialareacode;
	}

	public void setFinancialareacode(String financialareacode) {
		this.financialareacode = financialareacode;
	}
	
	@Length(min=0, max=1, message="isfinancialaccount长度必须介于 0 和 1 之间")
	@ExcelField(title="isfinancialaccount", align=2, sort=1140)
	public String getIsfinancialaccount() {
		return isfinancialaccount;
	}

	public void setIsfinancialaccount(String isfinancialaccount) {
		this.isfinancialaccount = isfinancialaccount;
	}


    public String getBelongName() {
        return belongName;
    }

    public void setBelongName(String belongName) {
        this.belongName = belongName;
    }
}